package com.example.dozer.config;

import org.dozer.DozerBeanMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.Collections;

@Configuration
public class DozerConfig {

    @Bean
    public DozerBeanMapper dozerBeanMapper() {

        DozerBeanMapper dozerBeanMapper = new DozerBeanMapper();

        // dozerBeanMapper.setMappingFiles(Collections.singletonList("dozer/dozerBeanMapping.xml"));

        return dozerBeanMapper;
    }

}
